package com.quhaodian.notice.data.service;

import com.quhaodian.notice.data.entity.UserMessage;
import com.quhaodian.data.page.Filter;
import com.quhaodian.data.page.Order;
import com.quhaodian.data.page.Page;
import com.quhaodian.data.page.Pageable;
import java.util.List;

/**
* Created by imake on 2017年11月14日18:25:25.
*/
public interface UserMessageService {

	UserMessage findById(Long id);

	UserMessage save(UserMessage bean);

	UserMessage update(UserMessage bean);

	UserMessage deleteById(Long id);
	
	UserMessage[] deleteByIds(Long[] ids);
	
	Page<UserMessage> page(Pageable pageable);
	
	Page<UserMessage> page(Pageable pageable, Object search);


	List<UserMessage> list(int first, Integer size, List<Filter> filters, List<Order> orders);

}